								<style type="text/css">
                                              table button{
                                                    margin-bottom:2px !important;
                                                }
								</style>
								<table id="sample-table-2" class="table table-striped table-bordered table-hover">
									<thead>
										<tr>
											<th width="5%">序号</th>
											<th width="10%">发货单号</th>
											<th width="10%">订单号</th>
											<th width="8%">收货人</th>
											<th width="10%">联系电话</th>
											<th class="hidden-480" width="15%">收货人地址</th>
											<th width="10%">下单时间</th>
											<th width="10%">快递公司</th>
											<th width="10%">状态</th>
											<th width="10%">操作</th>
										</tr>
									</thead>
									<tbody>
										<volist name="lists['lists']" id="vo">
											<tr>

												<td>
													<a href="#">{$i}</a>
												</td>
												<td ><a href="#" onclick="_es_openDilog90('{:U('Invoice/InvoiceGoodsDetails',array('delivery_id'=>$vo['delivery_id']))}','预收单采购记录','yushoudancaigoujilu')">{$vo.delivery_sn}</a></td>
												<td>{$vo.order_sn}</td>
												<td>{$vo.consignee}</td>
												<td>{$vo.mobile}</td>
												<td class="hidden-480">{$vo.new_address}</td>
												<td class="hidden-480">{$vo.create_time|date="Y-m-d H:i:s",###}</td>
												<td>{$vo.expresscompany_name}</td>
												<td>{$array[$vo['status']]}</td>
												
                                                 <td ><button type="button" class="btn btn-sm btn-success"  onclick="_es_openDilog90('{:U('Invoice/InvoiceGoodsDetails',array('delivery_id'=>$vo['delivery_id']))}','预收单采购记录','yushoudancaigoujilu')">  详　　情 </button>
                                                <!--  <button type="button" class="btn btn-sm btn-success"  onclick="_es_openDilog902('{:U('Invoice/LogisticsQuery',array('invoice_no'=>$vo['invoice_no'],'ac'=>$vo['expresscompany_name'],'delivery_sn'=>$vo['delivery_sn']))}','物流信息','wuliuxinxi')"> 查看物流</button> -->

                                                 <button type="button" class="btn btn-sm btn-success"  onclick="_es_openDilog902('{$vo['logistics_query']}','物流信息','wuliuxinxi')"> 查看物流</button></td>
											</tr>
										</volist>
									</tbody>
								</table>
					<table style="width: 80%; float: right; margin-bottom:10px">
					    <tr>
					        <td style="text-align: right;"> <div class="page_list_ops dataTables_paginate paging_bootstrap pagination" >{$lists['page_html']}</div></td>
					    </tr>
					</table>
<script type="text/javascript">
    $(function(){
        $("#tbmain tr").hover(function(){
            $(this).css({"background-color":"rgba(243, 236, 236, 0.72)"});
        },function(){
            $(this).css({"background-color":"#fff"});
        });

         $("#alldel").bind("click",checkSel);
    });

     function checkSel(){
       var flg= $(this).is(":checked");
       $("input[type='checkbox']").prop("checked",flg);
    }

   function selallval(){
     var _list="";
     $("#sample-table-2 input[type='checkbox']:checked").each(function(){
         // var flg=$(this).is(":checked");
         //if(!flg)return false;
         var _val=$(this).val();
         if(_val!=""){
         _list+= (_list==""?"":",")+"'"+_val+"'";
         } 
     });
     return _list;
} 



    function _es_openDilog90(url, title,id){ 
     art.dialog.open(url, { title: title, width: '1000px', height: '80%', opacity: 0.2, id: id, fixed: true, close:function(){load();}  });
}

</script>